﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Web;

namespace EmoryResidencyReviewer.Common
{
	public sealed class SessionVariables
	{
		public SessionVariables()
		{
			//Initialize session start date/time
			_sessionStart = DateTime.Now;

			//Initialize strings so they don't have to be tested for null
		}


		public Guid SessionGUID { get; set; }
		private DateTime _sessionStart;
		public TimeSpan SessionDuration
		{
			get { return DateTime.Now.Subtract(_sessionStart); }
		}
	}
}